export function getCode(code,data){
    switch (code){
        case '00':{
            let icon = 'iconfont icon-icon_qingtian'
            return {icon,...data}
        }
        case '01':{
            let icon = 'iconfont icon-Cloudys'
            return {icon,...data}
        }
        case '02':{
            let icon = 'iconfont icon-icon_yintian'
            return {icon,...data}
        }
        case '03':{
            let icon = 'iconfont icon-icon_zhenyu'
            return {icon,...data}
        }
        case '04':{
            let icon = 'iconfont icon-icon_wushuju'
            return {icon,...data}
        }
        case '05':{
            let icon = 'iconfont icon-icon_wushuju'
            return {icon,...data}
        }
        case '06':{
            let icon = 'iconfont icon-icon_xiaoxue'
            return {icon,...data}
        }
        case '07':{
            let icon = 'iconfont icon-icon_xiaoyu'
            return {icon,...data}
        }
        case '08':{
            let icon = 'iconfont icon-icon_zhongyu'
            return {icon,...data}
        }
        case '09':{
            let icon = 'iconfont icon-icon_dayu'
            return {icon,...data}
        }
        case '10':{
            let icon = 'iconfont icon-icon_baoyu'
            return {icon,...data}
        }
        case '11':{
            let icon = 'iconfont icon-icon_baoyu'
            return {icon,...data}
        }
        case '12':{
            let icon = 'iconfont icon-icon_baoyu'
            return {icon,...data}
        }
        case '13':{
            let icon = 'iconfont icon-icon_zhenxue'
            return {icon,...data}
        }
        case '14':{
            let icon = 'iconfont icon-icon_xiaoxue'
            return {icon,...data}
        }
        case '15':{
            let icon = 'iconfont icon-icon_zhongxue'
            return {icon,...data}
        }
        case '16':{
            let icon = 'iconfont icon-icon_daxue'
            return {icon,...data}
        }
        case '17':{
            let icon = 'iconfont icon-icon_baoxue'
            return {icon,...data}
        }

        default:{
            let icon = 'iconfont icon-a-Cloudydayshot'
            return {icon,...data}
        }
    }
}
